<template>
  <el-row class="footer-image" v-if="isVisible">
  
    <el-col class="footer-content">
      <!-- 左侧内容 -->
      <el-col :span="16" class="left-section">
        <h3 class="title">数据驱动的职业发展平台</h3>
        <p class="description">
          对比薪资待遇，匿名分享经验，在专业社区中做出明智的职业决策。
          我们致力于为互联网从业者提供最真实、最全面的薪酬数据和职业发展信息。
        </p>
        <div class="qrcode-container">
          <img src="../assets/images/erweimaapp.png" alt="扫码下载App" class="qrcode-img" />
          <!-- <p class="qrcode-text">扫码下载app</p> -->
        </div>
      </el-col>

      <!-- 右侧联系信息 -->
      <el-col :span="8" class="right-section">
        <h3 class="contact-title">联系我们</h3>
        <ul class="contact-list">
          <li>TEL : 13810703426</li>
          <li>WeChat : bigapple331</li>
          <li>Email : liudapeng331@hotmail.com</li>
           <li>公司 : 塞坦科技</li>
        </ul>
      </el-col>
    </el-col>
  </el-row>
</template>

<script>
export default {
  name: 'FooterImage',
  data() {
    return {
      isVisible: true
    }
  },
  methods: {
    closeImage() {
      this.isVisible = false
    },
    navigateToFillInfo() {
      this.$router.push('/fillinfo')
    }
  }
}
</script>

<style scoped>
.footer-image {
 
  width: 100%;
  background-color: #1a1a1a;
  color: white;
  padding: 20px 100px;
  text-align: center;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  /* max-width: 1200px; */
  margin: 0 auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 40px;
}

.left-section,
.right-section {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 12px;
  color: #fff;
}

.description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #ccc;
}

/* .qrcode-container {
  text-align: center;
} */

.qrcode-img {
  width: 150px;
  height: 150px;
  border-radius: 8px;
  margin-bottom: 8px;
}

.qrcode-text {
  font-size: 0.9rem;
  color: #bbb;
}

.contact-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 16px;
  color: #fff;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1rem;
  color: #ccc;
}

.contact-list li {
  margin-bottom: 12px;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  z-index: 1000;
  color: #f7f2f2;
  font-weight: bold;
}
</style>